<template>
   <div class="container">
     <Category title="游戏" >
       <template scope="{games}">
         <ul v-for="(game,index) in games" :key="index">
           <li>{{game}}</li>
         </ul>
       </template>
     </Category>
     <Category title="游戏" >
       <template scope="atguigu">
         <ol v-for="(game,index) in atguigu.games"  :key="index">
           <li>{{game}}</li>
         </ol>
       </template>
     </Category>
   </div>
</template>

<script>
import Category from "@/components/Category";
export default {
  name: "App",
  components:{
    Category
  }
}
</script>
<style lang="css" scoped>
   .container{
     display: flex;
     justify-content: space-around;
   }
   video {
     width: 100%;
   }
   img{
     width: 100%;
   }
</style>



